import type { App } from "vue";
import ElementPlus from 'element-plus'
import { setupRouter } from "@/router";
import { setupStore } from "@/store";
import { setupElIcons } from "./elementPlusIcon.ts";
import 'virtual:svg-icons-register'

export default {
  install(app: App<Element>) {

    setupRouter(app);
    // 状态管理(store)
    setupStore(app);
    setupElIcons(app);
    app.use(ElementPlus);
  },
};
